﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for Bus
/// </summary>
public class Bus
{
    public int _roundTime;
    public int _busNo;
    public string _startStation;
    public string _endStation;
    public double _velocity;
    public double _totalDistance;
    public string _startTimes;
    public string _endTimes;
    public string _startTimesHoliday;
    public string _endTimesHoliday;
    public string _startTimesSunday;
    public string _endTimesSunday;

    public Bus(int roundTime, int busNo, double totalDistance, string st,string et, string sth, string eth, string sts, string ets)
    {
        _roundTime = roundTime;
        _busNo = busNo;
        _totalDistance = totalDistance;
        _velocity = totalDistance / (roundTime / 2.0);
        _startTimes = st;
        _endTimes = et;
        _startTimesHoliday = sth;
        _endTimesHoliday = eth;
        _startTimesSunday = sts;
        _endTimesSunday = ets;
    }
}